import Vue from "vue";
import App from "./App.vue";
import router from "@router";
import store from "@store";
import ElementUI from "element-ui"
//公共方法类
import Server from "@server/index.js"
import 'element-ui/lib/theme-chalk/index.css'
//全局样式
import '@assets/css/commom.css'
import '@assets/css/element-resert.css'
import Request from '@/server/request';

Vue.use(ElementUI)
Vue.config.productionTip = false;
Vue.prototype.$Request = Request;
Object.defineProperty(Vue.prototype, "$Server", {
    value: Server
});
new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");